import axios from './axios.js'

export function login(body){
    return axios.post('/user/login',body)
}

export function getNum(body){
    return axios.post('/user/getNum',body)
}
export function register(body){
    return axios.post('/user/register',body)
}

export function uploadQueBank(body){
    return axios.post('/user/uploadQueBank',body)
}

export function getStudentList(body){
    return axios.post('/user/getStudentList',body)
}

export function getTeacherList(body){
    return axios.post('/user/getTeacherList',body)
}

export function edit(body){
    return axios.post('/user/edit',body)
}

export function del(body){
    return axios.post('/user/del',body)
}

export function releaseExam(body){
    return axios.post('/user/releaseExam',body)
}

export function getClasses(body){
    return axios.post('/user/getClasses',body)
}

export function getTeacher(body){
    return axios.post('/user/getTeacher',body)
}

export function getTopic(body){
    return axios.post('/user/getTopic',body)
}

export function createTextPaper(body){
    return axios.post('/user/createTextPaper',body)
}

export function getTextPaper(body){
    return axios.post('/user/getTextPaper',body)
}

export function createExamFile(body){
    return axios.post('/user/createExamFile',body)
}

export function getExamFile(body){
    return axios.post('/user/getExamFile',body)
}

export function editExamFile(body){
    return axios.post('/user/editExamFile',body)
}

export function getQueBank(body){
    return axios.post('/user/getQueBank',body)
}

export function createTopic(body){
    return axios.post('/user/createTopic',body)
}

export function getStuExamFile(body){
    return axios.post('/user/getStuExamFile',body)
}

export function getExamPaper(body){
    return axios.post('/user/getExamPaper',body)
}

export function uploadExamInf(body){
    return axios.post('/user/uploadExamInf',body)
}

export function getCompletedStuExamInf(body){
    return axios.post('/user/getCompletedStuExamInf',body)
}

export function automaticCorrectPapers(body){
    return axios.post('/user/automaticCorrectPapers',body)
}

export function getViewTextPaper(body){
    return axios.post('/user/getViewTextPaper',body)
}

export function collectTopic(body){
    return axios.post('/user/collectTopic',body)
}

export function getCollectionStructure(body){
    return axios.post('/user/getCollectionStructure',body)
}

export function collectionStructure(body){
    return axios.post('/user/collectionStructure',body)
}

export function getcollectTopicNum(body){
    return axios.post('/user/getcollectTopicNum',body)
}

export function getCollectTopic(body){
    return axios.post('/user/getCollectTopic',body)
}

export function cancelCollection(body){
    return axios.post('/user/cancelCollection',body)
}

export function getMarkTextPaperInf(body){
    return axios.post('/user/getMarkTextPaperInf',body)
}

export function getAnswerSheet(body){
    return axios.post('/user/getAnswerSheet',body)
}

export function getexamInf(body){
    return axios.post('/user/getexamInf',body)
}

export function getSubjectScoreTable(body){
    return axios.post('/user/getSubjectScoreTable',body)
}

export function getAllExamInf(body){
    return axios.post('/user/getAllExamInf',body)
}

export function getTotalScoreTable(body){
    return axios.post('/user/getTotalScoreTable',body)
}

export function getExamTime(body){
    return axios.post('/user/getExamTime',body)
}